-- GENERATED SPELL FOR [Kaldorei Elite] --


function spell0_15473(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(26350,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15473', 677, 1)
end

function spell1_15473(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15473', 5333, 1)
end

function Sorts_15473(pUnit, Event)
local choix_sorts_15473 = math.random(0, 1)
if choix_sorts_15473 == 0 then
pUnit:RegisterEvent('spell0_15473', 1, 1)
end
if choix_sorts_15473 == 1 then
pUnit:RegisterEvent('spell1_15473', 1, 1)
end
end

function mob15473_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15473', math.random(1500, 3000), 1)
end

function mob15473_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15473_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15473_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15473, 1, 'mob15473_Action')
RegisterUnitEvent(15473, 2, 'mob15473_Leave')
RegisterUnitEvent(15473, 3, 'mob15473_Kill')
RegisterUnitEvent(15473, 4, 'mob15473_Die')
